package cn.com.generaldata.os.vo;

import java.util.ArrayList;
import java.util.List;

public class Menu {
	//����
	private String text;
	//l�ӵ�ַ
	private String url;
	//·��
	private String title;
	//�Ӳ˵�
	private List<Menu> children;
	//josn
	private String json;
	
	private String isexpand = "false";
	
	public String getIsexpand() {
		return isexpand;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public List<Menu> getChildren() {
		if(getUrl() == null && children == null){//Ϊ�˲˵���ʾ���ļ��У������ļ�����Ҫnew 
			children = new ArrayList<Menu>();
		}
		return children;
	}
	public void setChildren(List<Menu> children) {
		this.children = children;
	}
	public String getJson() {
		return json;
	}
	public void setJson(String json) {
		this.json = json;
	}
	
	
	
}
